<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/vue.min.js"></script>
<script type="text/javascript" src="../script/zepto.min.js"></script>
      <script type="text/javascript" src="../script/fastclick.js"></script>
<script type="text/javascript" src="../script/app.js"></script>

	<style>
        .login-third {
            margin-top: 3rem;
        }

	</style>
</head>
<body>
  <div class="page" id="pageOrder">

  <header class="aui-bar aui-bar-nav aui-bar-dark aui-bg-yellow"  id="aui-header" style="margin-bottom:5px;">
    <a class="aui-pull-left" onclick="closeFrame()">
        <span class="aui-iconfont aui-icon-left"></span>返回
    </a><div class="aui-title">收款记录</div></header>

    <!-- 顶部 -->
    <section class="aui-content conditions-content conditions-fixed" >
        <div class="aui-row conditions" >
          <div :class="type=='addtime'?'aui-col-xs-4 on':'aui-col-xs-4'" @click="showCondtion('addtime')">
              <div class="aui-grid-label">{{chooseConditions.addtime ? chooseConditions.addtime :'全部时间' }}
                <i class="aui-iconfont aui-icon-top aui-text-color_3" v-if="type=='addtime'"></i>
                <i class="aui-iconfont aui-icon-down aui-text-color_3" v-else></i>
          </div>
          </div>
          <div :class="type=='paystatus'?'aui-col-xs-4 on':'aui-col-xs-4'"  @click="showCondtion('paystatus')">
              <div class="aui-grid-label">{{chooseConditions.paystatus ? chooseConditions.paystatus :'全部状态' }}
                <i class="aui-iconfont aui-icon-top aui-text-color_3" v-if="type=='paystatus'"></i>
               <i class="aui-iconfont aui-icon-down aui-text-color_3" v-else></i>
          </div>
          </div>
          <div :class="type=='order_type'?'aui-col-xs-4 on':'aui-col-xs-4'"  @click="showCondtion('order_type')">
              <div class="aui-grid-label">{{chooseConditions.order_type ? chooseConditions.order_type :'全部类型' }}
                <i class="aui-iconfont aui-icon-top aui-text-color_3" v-if="type=='order_type'"></i>
                <i class="aui-iconfont aui-icon-down aui-text-color_3" v-else></i>
              </div>
          </div>

        </div>
    </section>

    <!-- 条件  -->
      <div class="bg hidden" @click="type=''" v-if="type"></div>
      <section class="aui-content conditions-list hidden conditions-list-fixed" v-if="type">

        <ul class="aui-list">

          <li class="aui-list-item" v-for="(item,key) in conditionsList">
             <div class="aui-list-item-inner" @click="setCondition(key,item)">
                 <div class="aui-list-item-title">{{item}}</div>
                 <div class="aui-list-item-right" v-if="item == chooseConditions[type]">
                     <i class="aui-iconfont aui-icon-correct aui-text-color_3"></i>
                 </div>
             </div>
         </li>
      </ul>
    </section>

    <section class="page-content aui-content">
  <!-- 收入流水 -->
     <div class="money-list money-list-1" v-if="!nodata">
             <div class="money-one"  v-for="item in moneyLog" @click="order_detail(item.order_type,item.order_sn)" >
               <div class="moneyico"> <img :src='item.avatarUrl'/></div>
               <div class="moneytext">
                   <div class="money-title">
                       <span class="pull-left">{{item.title}} </span>
                       <span class="pull-right">{{item.order_amount}} </span>
                       <div class="clear"></div>
                   </div>
                   <div class="money-sub-title">
                       <span class="pull-left">[{{item.orderTypeText}}]</span>
                       <!-- <span class="pull-right">{{item.paytypeText}} </span> -->
                       <div class="clear"></div>
                   </div>
                   <div class=" text-over-hidden">
                     <span class="pull-left light">{{item.addtime}} </span>
                       <span class="pull-right light">{{item.payStatusText}} </span>
                       <div class="clear"></div>
                   </div>
               </div>
             </div>
     </div>
     <div class="errormsgDiv"   v-else>

        <p class="errormsg">\（￣︶￣）/</p>
        <p class="errormsg2">当前条件没数据</p>
     </div>
      <!-- 收入流水 -->
</section>

  </div>
  <script type="text/javascript" src="../script/order.js"></script>
</body>


</html>
